#include<cstdio>
#include<cstring>
int main(){
	char a[200];
	gets(a);
	char b[200];
	memset(b,'\0',sizeof(b));
	strcpy(b,a);
	strcat(b,a);
	printf("%s\n",strlwr(b));
}
